#include <vector>
#include <iostream>

using namespace std;

int main(int argc, char *argv[]){
    int ia[10][11] = {12, 2,3,4,5,6,6,6,4,4,2};
    for(auto p = begin(ia); p != end(ia) ; ++p) {
        for (auto q = begin(*p); q != end(*p); ++q)
            cout << *q << " ";
        cout << endl;
    }

    return 0;
}